package cc.market.VO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "员工登录返回的数据格式")
public class UserLoginVO implements Serializable {

    @Schema(description ="主键值")
    private Integer id;

    @Schema(description ="用户手机号")
    private String phone;
    @Schema(description ="性别")
    private Byte sex; // 性别

    @Schema(description ="头像链接")
    private String avatar; // 头像链接

    @Schema(description ="个人简介")
    private String intro; // 个人简介

    @Schema(description ="昵称")
    private String nickName; // 昵称

    @Schema(description ="定位省份")
    private String province; // 定位省份

    @Schema(description ="定位城市")
    private String city; // 定位城市

    @Schema(description ="jwt令牌")
    private String token;

}